package com.lds.employment.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.lds.employment.mapper.EmploymentStudentTrackMapper;
import com.lds.employment.domain.EmploymentStudentTrack;
import com.lds.employment.service.IEmploymentStudentTrackService;

/**
 * 学生跟踪Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
@Service
public class EmploymentStudentTrackServiceImpl implements IEmploymentStudentTrackService 
{
    @Autowired
    private EmploymentStudentTrackMapper employmentStudentTrackMapper;

    /**
     * 查询学生跟踪
     * 
     * @param id 学生跟踪主键
     * @return 学生跟踪
     */
    @Override
    public EmploymentStudentTrack selectEmploymentStudentTrackById(Long id)
    {
        return employmentStudentTrackMapper.selectEmploymentStudentTrackById(id);
    }

    /**
     * 查询学生跟踪列表
     * 
     * @param employmentStudentTrack 学生跟踪
     * @return 学生跟踪
     */
    @Override
    public List<EmploymentStudentTrack> selectEmploymentStudentTrackList(EmploymentStudentTrack employmentStudentTrack)
    {
        return employmentStudentTrackMapper.selectEmploymentStudentTrackList(employmentStudentTrack);
    }

    /**
     * 新增学生跟踪
     * 
     * @param employmentStudentTrack 学生跟踪
     * @return 结果
     */
    @Override
    public int insertEmploymentStudentTrack(EmploymentStudentTrack employmentStudentTrack)
    {
        return employmentStudentTrackMapper.insertEmploymentStudentTrack(employmentStudentTrack);
    }

    /**
     * 修改学生跟踪
     * 
     * @param employmentStudentTrack 学生跟踪
     * @return 结果
     */
    @Override
    public int updateEmploymentStudentTrack(EmploymentStudentTrack employmentStudentTrack)
    {
        return employmentStudentTrackMapper.updateEmploymentStudentTrack(employmentStudentTrack);
    }

    /**
     * 批量删除学生跟踪
     * 
     * @param ids 需要删除的学生跟踪主键
     * @return 结果
     */
    @Override
    public int deleteEmploymentStudentTrackByIds(Long[] ids)
    {
        return employmentStudentTrackMapper.deleteEmploymentStudentTrackByIds(ids);
    }

    /**
     * 删除学生跟踪信息
     * 
     * @param id 学生跟踪主键
     * @return 结果
     */
    @Override
    public int deleteEmploymentStudentTrackById(Long id)
    {
        return employmentStudentTrackMapper.deleteEmploymentStudentTrackById(id);
    }
}
